class EventHelper{
    static send(e: any, eventType: Array<any>, func: Array<any>, target: any) {
        var n: number = eventType.length;
        for (var i: number = 0; i < n; i++) {
            if (e.target.name == eventType[i]) {
                func[i].apply(target, [eventType[i], e]);
                return;
            }
        }
	}
}